<?= Yii::$app->view->renderFile("@app/modules/web/views/common/tab_common.php", [
    "tab_list" => [
        "index" => [
            "title" => "图书列表",
            "url" => "/book/index",
        ],
        "cat" => [
            "title" => "分类列表",
            "url" => "/book/cat",
        ],
        "images" => [
            "title" => "图片资源",
            "url" => "/book/images",
        ],
    ],
    "current" => "cat",
])?>
<div class="row">
    <div class="col-lg-12">
        <form class="form-inline wrap_search">
            <div class="row  m-t p-w-m">
                <div class="form-group">
                    <select name="status" class="form-control inline">
                        <option value="-1">请选择状态</option>
                        <option value="1"  >正常</option>
                        <option value="0"  >已删除</option>
                    </select>
                </div>
            </div>
            <hr/>
            <div class="row">
                <div class="col-lg-12">
                    <a class="btn btn-w-m btn-outline btn-primary pull-right" href="/web/book/cat_set">
                        <i class="fa fa-plus"></i>分类
                    </a>
                </div>
            </div>

        </form>
        <table class="table table-bordered m-t">
            <thead>
            <tr>
                <th>序号</th>
                <th>分类名称</th>
                <th>状态</th>
                <th>权重</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>1</td>
                <td>政治类</td>
                <td>已删除</td>
                <td>4</td>
                <td>
                    <a class="m-l recover" href="javascript:void(0);" data="1">
                        <i class="fa fa-rotate-left fa-lg"></i>
                    </a>
                </td>
            </tr>
            <tr>
                <td>2</td>
                <td>互联网</td>
                <td>正常</td>
                <td>1</td>
                <td>
                    <a class="m-l" href="/web/book/cat_set?id=2">
                        <i class="fa fa-edit fa-lg"></i>
                    </a>

                    <a class="m-l remove" href="javascript:void(0);" data="2">
                        <i class="fa fa-trash fa-lg"></i>
                    </a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>